home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-02-28 | 885 b | 29 lines | [TEXT/ttxt] |
- -- ************************************************************************
- -- * *
- -- * ChangeInkAction Class definition *
- -- * *
- -- * This class changes the ink mode on a SpriteChannelInfo object *
- -- * *
- -- ************************************************************************
-
-
- class ChangeInkAction (Action)
-
- instance variables
-
- inkMode
- end
-
- method init self {class ChangeInkAction} #rest args #key inkMode:(@Copy) ->
- (
- apply nextMethod self args
-
- self.inkMode := inkMode
-
- )
-
- method trigger self {class ChangeInkAction} theTarget thePlayer ->
- (
- setInk thePlayer.scorePlayer.spriteChannelInfoArray[self.targetNum] self.inkMode
- )
-